package com.gigi.mapper.manual;

import com.gigi.model.JoinCourseDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JoinCourseManualMapper {

    List<JoinCourseDO> listJoinCourseForStudent(@Param("userId") Long userId);

    List<JoinCourseDO> listJoinCourseForTeacher(@Param("userId") Long userId);

    List<JoinCourseDO> listCourseMember(@Param("courseId") Long courseId);
}
